﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Core.Parser.ASN1Parser.Nodes
{
    internal class TaggedNode : SequenceNode
    {
        internal ASN1ContextCodes Tag { get; private set; }

        internal TaggedNode(int tag)
            : base()
        {
            Tag = (ASN1ContextCodes)tag;
        }

        public override string ToString()
        {
            return "Tag:" + Tag +" "+ base.ToString(); ;
        }

    }
}
